package com.lixin.dao.impl;

import com.lixin.dao.UserDao;

import java.util.List;
import java.util.Map;

public class MysqlUserDaoImpl implements UserDao {

    private final String type;
    private Map<String, String> testMap;
    private List<String> testList;

    public MysqlUserDaoImpl(String type) {
        this.type = type;
    }

    public String getType() {
        return type;
    }

    public Map<String, String> getTestMap() {
        return testMap;
    }

    public void setTestMap(Map<String, String> testMap) {
        this.testMap = testMap;
    }

    public List<String> getTestList() {
        return testList;
    }

    public void setTestList(List<String> testList) {
        this.testList = testList;
    }

    @Override
    public void getAllUser() {
        System.out.println("从MySql数据库中获取到了用户数据，type:" + type + " testMap:" + testMap + " testList:" + testList);
    }

}
